package kr.hkit.powerjava.chapter08.work;
/* Exercise 3 Movie 클래스 */
class MovieEx {	
	private String title, director, actors;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDirector() {
		return director;
	}

	public void setDirector(String director) {
		this.director = director;
	}

	public String getActors() {
		return actors;
	}

	public void setActors(String actors) {
		this.actors = actors;
	}

	@Override
	public String toString() {
		return "MovieEx [title=" + title + "]";
	}
}
public class Movie{
	public static void main(String[] args) {
		MovieEx m1 = new MovieEx();
		m1.setTitle("Transformor");
		System.out.println(m1);
	}
}